<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>LTE-UNB: Scheduler::SchedulingAlgorithm Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">LTE-UNB
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_scheduler.html">Scheduler</a>      </li>
      <li class="navelem"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html">SchedulingAlgorithm</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Scheduler::SchedulingAlgorithm Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="Scheduler::SchedulingAlgorithm" -->
<p><code>#include &lt;<a class="el" href="_scheduling_algorithm_8h_source.html">SchedulingAlgorithm.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Scheduler::SchedulingAlgorithm:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_scheduler_1_1_scheduling_algorithm.png" usemap="#Scheduler::SchedulingAlgorithm_map" alt=""/>
  <map id="Scheduler::SchedulingAlgorithm_map" name="Scheduler::SchedulingAlgorithm_map">
<area href="class_scheduler_1_1_best_c_q_i_algorithm.html" alt="Scheduler::BestCQIAlgorithm" shape="rect" coords="0,56,221,80"/>
<area href="class_scheduler_1_1_proportional_fair_algorithm.html" alt="Scheduler::ProportionalFairAlgorithm" shape="rect" coords="231,56,452,80"/>
<area href="class_scheduler_1_1_random_algorithm.html" alt="Scheduler::RandomAlgorithm" shape="rect" coords="462,56,683,80"/>
</map>
 </div></div>

<p><a href="class_scheduler_1_1_scheduling_algorithm-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a7f7f623a663550481943ed33bbf9c793">SchedulingAlgorithm</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a5376a72bba095dbe9d2c9bfa6f654164">~SchedulingAlgorithm</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#ae48b42d550ada89581f8f2b9d0da3365">setParameters</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a8e005193164eb7f7996096cda2c56c53">initialize</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a06dc432b39ab49ef1877b5be7ad0237a">schedule</a> (const ivec &amp;users, <a class="el" href="class_physical_layer_1_1_physical_layer.html">PhysicalLayer::PhysicalLayer</a> *pl, int Direction)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a1640c0624f600f4b2a445b7818198320">schedulerUsers_R</a> (int index1)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a09558e28515daca204a6bd48d88da7ce">j1_R</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a880806ffd4c5772cd26c16e86bce6a4b">index_R</a> (int j11)</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ivec&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#aa9d208f799fe848de0ee37e8c90c59e4">schedulerUsers_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5c7deec463268a9f90c26a610c0cc5ec"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::ind" ref="a5c7deec463268a9f90c26a610c0cc5ec" args="[200]" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>ind</b> [200]</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a404d94759fed8bacc34ec54ee09c900d"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::j1" ref="a404d94759fed8bacc34ec54ee09c900d" args="[1]" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>j1</b> [1]</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a88390cea3fc1b1ac3aed0f757fc3bf87">configurePRBs</a> (<a class="el" href="class_physical_layer_1_1_physical_layer.html">PhysicalLayer::PhysicalLayer</a> *pl)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#adb392d8f8e7972c1a57ed57bc753988a">configurePRBsPerSlot</a> (<a class="el" href="class_physical_layer_1_1_physical_layer.html">PhysicalLayer::PhysicalLayer</a> *pl)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a9820ada2bf5c5dd9b2de58bdb16bcb44">calculateTimeMetric</a> (double averageCQI, double throughput)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#ab8f48e9e459047c33a32eda2ed1ea837">calculateFrequencyMetric</a> (double averageCQI, double throughput)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#aa17c4c4214d8c2d63eafd8f915262afe">calculateSpaceMetric</a> (double averageCQI, double throughput)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a9f4ca9bb4d95661fe19ea062a2f179ca">timeSchedule</a> (const ivec &amp;users, ivec &amp;scheduledUsers)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#aaeb7c63b29b6da2aa0349db2d7367338">numberUsersPerSlot_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a929f906a8c74c8ca0aa5e11364860e3f">numberAntennas_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#afb7589c81ca99ec37a812ad1dce9899c">sameUserAtSlots_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_link_adaptation_1_1_link_adaptation.html">LinkAdaptation::LinkAdaptation</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#aa0a3c32bce2ae7fc5025b6320dc30d00">linkAdaptation_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Array&lt; vec &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a58dc8abd438b90c94b0371472e889328">usersFrequencies_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Array&lt; Array&lt; vector<br class="typebreak"/>
&lt; <a class="el" href="class_physical_layer_1_1_physical_resource_block.html">PhysicalLayer::PhysicalResourceBlock</a> * &gt; &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#ad760ab2b23d633f82335cdbbf5c8e387">usersPRBs_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time_manager_1_1_time_manager.html">TimeManager::TimeManager</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a6d02540b2a0b0470f700d98fd1439346">timeManager_</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html">SchedulingAlgorithm</a> Class. Detailed description. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a7f7f623a663550481943ed33bbf9c793"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::SchedulingAlgorithm" ref="a7f7f623a663550481943ed33bbf9c793" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a7f7f623a663550481943ed33bbf9c793">Scheduler::SchedulingAlgorithm::SchedulingAlgorithm</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor. Calls setParameters and initialize. </p>

</div>
</div>
<a class="anchor" id="a5376a72bba095dbe9d2c9bfa6f654164"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::~SchedulingAlgorithm" ref="a5376a72bba095dbe9d2c9bfa6f654164" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a5376a72bba095dbe9d2c9bfa6f654164">Scheduler::SchedulingAlgorithm::~SchedulingAlgorithm</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor. Clears usersPRBs_. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ab8f48e9e459047c33a32eda2ed1ea837"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::calculateFrequencyMetric" ref="ab8f48e9e459047c33a32eda2ed1ea837" args="(double averageCQI, double throughput)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#ab8f48e9e459047c33a32eda2ed1ea837">Scheduler::SchedulingAlgorithm::calculateFrequencyMetric</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>averageCQI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>throughput</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculates the metric in frequency domain. </p>

<p>Implemented in <a class="el" href="class_scheduler_1_1_proportional_fair_algorithm.html#a8e4be0398638b5f28d9875b996546a20">Scheduler::ProportionalFairAlgorithm</a>, <a class="el" href="class_scheduler_1_1_random_algorithm.html#afb7ff3c2820015593015c758c6b4f790">Scheduler::RandomAlgorithm</a>, and <a class="el" href="class_scheduler_1_1_best_c_q_i_algorithm.html#a2eadc075b24bc863fe23a847a8a57c5a">Scheduler::BestCQIAlgorithm</a>.</p>

</div>
</div>
<a class="anchor" id="aa17c4c4214d8c2d63eafd8f915262afe"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::calculateSpaceMetric" ref="aa17c4c4214d8c2d63eafd8f915262afe" args="(double averageCQI, double throughput)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#aa17c4c4214d8c2d63eafd8f915262afe">Scheduler::SchedulingAlgorithm::calculateSpaceMetric</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>averageCQI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>throughput</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculates the metric in space domain. </p>

<p>Implemented in <a class="el" href="class_scheduler_1_1_proportional_fair_algorithm.html#adcc4c20475dca7f4241602656009b798">Scheduler::ProportionalFairAlgorithm</a>, <a class="el" href="class_scheduler_1_1_random_algorithm.html#a76009708f4adb15bb7fd291aeb61b401">Scheduler::RandomAlgorithm</a>, and <a class="el" href="class_scheduler_1_1_best_c_q_i_algorithm.html#adcec8a337665f1fb60a904a1cb3f3747">Scheduler::BestCQIAlgorithm</a>.</p>

</div>
</div>
<a class="anchor" id="a9820ada2bf5c5dd9b2de58bdb16bcb44"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::calculateTimeMetric" ref="a9820ada2bf5c5dd9b2de58bdb16bcb44" args="(double averageCQI, double throughput)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a9820ada2bf5c5dd9b2de58bdb16bcb44">Scheduler::SchedulingAlgorithm::calculateTimeMetric</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>averageCQI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>throughput</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculates the metric in time domain. </p>

<p>Implemented in <a class="el" href="class_scheduler_1_1_proportional_fair_algorithm.html#a12609807429117f668079a10b64dabbe">Scheduler::ProportionalFairAlgorithm</a>, <a class="el" href="class_scheduler_1_1_best_c_q_i_algorithm.html#a0b403ff2e770db868418d2da85e22ad1">Scheduler::BestCQIAlgorithm</a>, and <a class="el" href="class_scheduler_1_1_random_algorithm.html#a6bc8b88c72bc7e5f08d2cfdf7d17ede7">Scheduler::RandomAlgorithm</a>.</p>

</div>
</div>
<a class="anchor" id="a88390cea3fc1b1ac3aed0f757fc3bf87"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::configurePRBs" ref="a88390cea3fc1b1ac3aed0f757fc3bf87" args="(PhysicalLayer::PhysicalLayer *pl)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a88390cea3fc1b1ac3aed0f757fc3bf87">Scheduler::SchedulingAlgorithm::configurePRBs</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_physical_layer_1_1_physical_layer.html">PhysicalLayer::PhysicalLayer</a> *&#160;</td>
          <td class="paramname"><em>pl</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Configures the Physical Resource Blocks. </p>

</div>
</div>
<a class="anchor" id="adb392d8f8e7972c1a57ed57bc753988a"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::configurePRBsPerSlot" ref="adb392d8f8e7972c1a57ed57bc753988a" args="(PhysicalLayer::PhysicalLayer *pl)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#adb392d8f8e7972c1a57ed57bc753988a">Scheduler::SchedulingAlgorithm::configurePRBsPerSlot</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_physical_layer_1_1_physical_layer.html">PhysicalLayer::PhysicalLayer</a> *&#160;</td>
          <td class="paramname"><em>pl</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Configures the PRBs per slot. </p>

</div>
</div>
<a class="anchor" id="a880806ffd4c5772cd26c16e86bce6a4b"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::index_R" ref="a880806ffd4c5772cd26c16e86bce6a4b" args="(int j11)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a880806ffd4c5772cd26c16e86bce6a4b">Scheduler::SchedulingAlgorithm::index_R</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>j11</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Member. Left empty. </p>

</div>
</div>
<a class="anchor" id="a8e005193164eb7f7996096cda2c56c53"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::initialize" ref="a8e005193164eb7f7996096cda2c56c53" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a8e005193164eb7f7996096cda2c56c53">Scheduler::SchedulingAlgorithm::initialize</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initializes linkAdaptation_, timeManager_, usersPRBs_ and totalSINR_. </p>

</div>
</div>
<a class="anchor" id="a09558e28515daca204a6bd48d88da7ce"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::j1_R" ref="a09558e28515daca204a6bd48d88da7ce" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a09558e28515daca204a6bd48d88da7ce">Scheduler::SchedulingAlgorithm::j1_R</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Member. Left empty. </p>

</div>
</div>
<a class="anchor" id="a06dc432b39ab49ef1877b5be7ad0237a"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::schedule" ref="a06dc432b39ab49ef1877b5be7ad0237a" args="(const ivec &amp;users, PhysicalLayer::PhysicalLayer *pl, int Direction)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a06dc432b39ab49ef1877b5be7ad0237a">Scheduler::SchedulingAlgorithm::schedule</a> </td>
          <td>(</td>
          <td class="paramtype">const ivec &amp;&#160;</td>
          <td class="paramname"><em>users</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_physical_layer_1_1_physical_layer.html">PhysicalLayer::PhysicalLayer</a> *&#160;</td>
          <td class="paramname"><em>pl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. Interface. Detailed description. Allocates resources per user. </p>

</div>
</div>
<a class="anchor" id="a1640c0624f600f4b2a445b7818198320"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::schedulerUsers_R" ref="a1640c0624f600f4b2a445b7818198320" args="(int index1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a1640c0624f600f4b2a445b7818198320">Scheduler::SchedulingAlgorithm::schedulerUsers_R</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index1</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Member. Left empty. </p>

</div>
</div>
<a class="anchor" id="ae48b42d550ada89581f8f2b9d0da3365"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::setParameters" ref="ae48b42d550ada89581f8f2b9d0da3365" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#ae48b42d550ada89581f8f2b9d0da3365">Scheduler::SchedulingAlgorithm::setParameters</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Defines numberUsersPerSlot_, sameUserAtSlots_, numberAntennas_. </p>

</div>
</div>
<a class="anchor" id="a9f4ca9bb4d95661fe19ea062a2f179ca"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::timeSchedule" ref="a9f4ca9bb4d95661fe19ea062a2f179ca" args="(const ivec &amp;users, ivec &amp;scheduledUsers)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a9f4ca9bb4d95661fe19ea062a2f179ca">Scheduler::SchedulingAlgorithm::timeSchedule</a> </td>
          <td>(</td>
          <td class="paramtype">const ivec &amp;&#160;</td>
          <td class="paramname"><em>users</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ivec &amp;&#160;</td>
          <td class="paramname"><em>scheduledUsers</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Allocate time. </p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="aa0a3c32bce2ae7fc5025b6320dc30d00"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::linkAdaptation_" ref="aa0a3c32bce2ae7fc5025b6320dc30d00" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_link_adaptation_1_1_link_adaptation.html">LinkAdaptation::LinkAdaptation</a>* <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#aa0a3c32bce2ae7fc5025b6320dc30d00">Scheduler::SchedulingAlgorithm::linkAdaptation_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Member. Left empty. </p>

</div>
</div>
<a class="anchor" id="a929f906a8c74c8ca0aa5e11364860e3f"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::numberAntennas_" ref="a929f906a8c74c8ca0aa5e11364860e3f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a929f906a8c74c8ca0aa5e11364860e3f">Scheduler::SchedulingAlgorithm::numberAntennas_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Member. Left empty. </p>

</div>
</div>
<a class="anchor" id="aaeb7c63b29b6da2aa0349db2d7367338"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::numberUsersPerSlot_" ref="aaeb7c63b29b6da2aa0349db2d7367338" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#aaeb7c63b29b6da2aa0349db2d7367338">Scheduler::SchedulingAlgorithm::numberUsersPerSlot_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Member. Left empty. </p>

</div>
</div>
<a class="anchor" id="afb7589c81ca99ec37a812ad1dce9899c"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::sameUserAtSlots_" ref="afb7589c81ca99ec37a812ad1dce9899c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#afb7589c81ca99ec37a812ad1dce9899c">Scheduler::SchedulingAlgorithm::sameUserAtSlots_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Member. Left empty. </p>

</div>
</div>
<a class="anchor" id="aa9d208f799fe848de0ee37e8c90c59e4"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::schedulerUsers_" ref="aa9d208f799fe848de0ee37e8c90c59e4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ivec <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#aa9d208f799fe848de0ee37e8c90c59e4">Scheduler::SchedulingAlgorithm::schedulerUsers_</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Member. Left empty. </p>

</div>
</div>
<a class="anchor" id="a6d02540b2a0b0470f700d98fd1439346"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::timeManager_" ref="a6d02540b2a0b0470f700d98fd1439346" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_time_manager_1_1_time_manager.html">TimeManager::TimeManager</a>* <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a6d02540b2a0b0470f700d98fd1439346">Scheduler::SchedulingAlgorithm::timeManager_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Member. Left empty. </p>

</div>
</div>
<a class="anchor" id="a58dc8abd438b90c94b0371472e889328"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::usersFrequencies_" ref="a58dc8abd438b90c94b0371472e889328" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Array&lt; vec &gt; <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#a58dc8abd438b90c94b0371472e889328">Scheduler::SchedulingAlgorithm::usersFrequencies_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Member. Left empty. </p>

</div>
</div>
<a class="anchor" id="ad760ab2b23d633f82335cdbbf5c8e387"></a><!-- doxytag: member="Scheduler::SchedulingAlgorithm::usersPRBs_" ref="ad760ab2b23d633f82335cdbbf5c8e387" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Array&lt; Array&lt; vector&lt; <a class="el" href="class_physical_layer_1_1_physical_resource_block.html">PhysicalLayer::PhysicalResourceBlock</a>* &gt; &gt; &gt; <a class="el" href="class_scheduler_1_1_scheduling_algorithm.html#ad760ab2b23d633f82335cdbbf5c8e387">Scheduler::SchedulingAlgorithm::usersPRBs_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Member. Left empty. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>RRM/Scheduler/<a class="el" href="_scheduling_algorithm_8h_source.html">SchedulingAlgorithm.h</a></li>
<li>RRM/Scheduler/<a class="el" href="_scheduling_algorithm_8cpp.html">SchedulingAlgorithm.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 25 2012 22:25:42 for LTE-UNB by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
